package com.fjnldx.mes.domain.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "用户")
public class User {
  @ApiModelProperty(notes = "用户id")
  private Integer id;
  @ApiModelProperty(notes = "用户名",required = true,example = "")
  private String username;
  @ApiModelProperty(notes = "密码",required = true,example = "")
  private String password;
  @JsonIgnore
  private String role;
}
